home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 034a / nc_b11.zip / SYSOP.DOC < prev    next >
Text File  |  1992-01-25  |  16KB  |  326 lines

  1.  
  2.    ╒═══════════════════════════════════════════════════════════════╕
  3.    │                                                               │
  4.    │               ╔════                                           │
  5.    │               ║                                               │
  6.    │               ╚═══╗     ║       ║                             │
  7.    │                   ║ ║ ║ ╠═╗ ═╦═ ║                             │
  8.    │               ════╝ ╚═╣ ╚═╝ ═╩═ ╚═ WARE                       │
  9.    │                       ║  by boB Gage                          │
  10.    │                     ══╝  Available on Sybil BBS               │
  11.    │                          (703) 951-2708  HST DS               │
  12.    │                                                               │
  13.    │          S Y S O P   D O C U M E N T A T I O N                │
  14.    ╘═══════════════════════════════════════════════════════════════╛
  15.  
  16.  
  17.  
  18. ========================[  Setting Up NameChng  ]========================
  19.  
  20. In ALL batch files, NameChng and NameChk should ALWAYS be called from the same
  21. directory.  The smaller this directory, the faster NameChk will run, so I
  22. suggest using a seperate directory for NameChng.  This directory will be used
  23. for flag and save files.  You should NEVER delete any *.SNC or *.ALI file from
  24. this directory!!!!  This directory SHOULD NOT be on a RAM drive or other
  25. easily lost storage device.  Using a RAMdrive VIRTUALLY GUARANTEES eventual
  26. corruption of your USERS file, locking a user into their alias until you
  27. manually restore them (see BETA.DOC for details)
  28.  
  29. Setting up NameChng is a 5 to 9 step process:
  30.  
  31. 1) Write the batch file (or files) to run the door
  32. 2) Include the batch file(s) in your DOORS.DAT file
  33. 3) Make the alias text file
  34. 4) Modify or create $$LOGOFF.BAT files for each node
  35. 5) Modify NameChng.CFG to suit your needs
  36. 6) Optionally modify the various TXT files
  37. 7) Optionally add NameIndx to your event
  38. 8) Optionally modify and add User Bulletin to your bulletin list
  39. 9) Optionally modify and add HLPName to your PCB Help directory
  40.  
  41.  
  42. 1) - Write the batch file (or files) to run the door
  43.  
  44. There are two options for setting up your door batch files.  You can have a
  45. single door that the user calls with a parameter of either REAL or ALIAS (ie
  46. NameChng Alias to get into the alias and  NameChng Real to switch back) OR
  47. You can set up two doors, one to enter the alias and one to leave it.
  48. Personally I'm using both approaches with different alias files; a single
  49. batch, Name, calls using my adult & "other" aliases file, and two batches,
  50. D&D and LeaveD&D, operate using my D&D players/characters alias file.
  51.  
  52. Note that using the two batch file option locks the user away from the REQUEST
  53. and SHOW commands, as well as any commands later added.
  54.  
  55. The format for calling NameChng.EXE is:
  56.     NameChng  <file> ALIAS  [#]            -  change to alias name
  57.     NameChng  <file> REAL                  -  change to real name
  58.     NameChng  <file> REQUEST Alias Name    - request alias
  59.     NameChng  <file> VERIFY Alias Name     - sysop only, verify alias
  60.     NameChng  <file> REJECT Alias Name     - sysop only, reject alias
  61.     NameChng  <file> SHOW                  - show aliases
  62.  
  63. The first two parameters are required!  <file> is the alias text file,
  64. discussed below.   The second parameter is the command NameChange is to
  65. execute, and these commands ARE configurable in the NameChng.CFG file.
  66.  
  67. An OPTIONAL parameter is used on the ALIAS line to implement multiple
  68. aliases.  If a number is given here, it is the alias number to use.  For
  69. example, if a person had three aliases defined on your system (all with the
  70. same real name), he could switch to the third one with NameChng Alias 3.
  71.  
  72. The single batch file, Name, looks like this:
  73. o:
  74. CD \NAMECHNG
  75. NAMECHNG  ADULTS %PCBDOOR%
  76. exit             ^^^^^^^^^^ that's PCB's command stack variable
  77.                             which should include either REAL or ALIAS
  78.                             and an optional numeric parameter OR
  79.                             the word REQUEST and the desired alias
  80.                             OR any other valid NameChange command.
  81.  
  82.  
  83. The D&D conference batch files look like this:
  84.  
  85. File: D&D
  86. o:
  87. cd \namechng
  88. namechng DNDPLAY Alias
  89. exit                   ^^^^^  Notice the dropped 3rd parameter, it
  90.                               uses first alias encountered in file
  91.                               by default.  Including %PCBDOOR%
  92.                               here would enable players with 2
  93.                               or more characters to switch
  94.                               between names by typing D&D #,
  95.                               where # is the character number.
  96. File: LEAVED&D
  97. o:
  98. cd \namechng
  99. namechng DNDPLAY Real
  100. exit
  101.  
  102.  
  103. Notes:  When using the two batch file method described above, you lose the
  104. ability for the REQUEST, VERIFY, and REJECT commands unless you install
  105. seperate batch files for these as well (not suggested).  In this case, modify
  106. the NOALIAS.TXT file to tell the user the proper alias registration method
  107. (ie C)omment to sysop).
  108.  
  109.    Using the single batch file method gives you complete access to all
  110. existing and possible future commands through the %PCBDOOR% environment
  111. variable.
  112.  
  113. 2) - Include the batch files in your DOORS.DAT file
  114.  
  115. After setting up your batch files, add NameChng to your PCBoard door
  116. directories.  NameChng does NOT need any extra files, but should be set up as
  117. a SHELL door, your DOORS.DAT line will look similar to this:
  118.  
  119. Name,,42,0,0,P:\DOORBATS\,0,Y
  120.          ^^^               ^^^  Shell door!!  Should be YES
  121.          NO USERS.SYS/DOOR.SYS!!
  122.  
  123.  
  124.  
  125. 3) - Make the alias text file
  126.  
  127. The alias files used by NameChng determine who gets what aliases and which
  128. conferences they are allowed in.
  129.  
  130. Here is a sample with comments:
  131.  
  132.          1         2         3        4          5         6
  133. 123456789012345678901234567890123456789012345678901234567890
  134. <Top of File>
  135. !D  27 28           ; Defines group D, conferences 27 & 28 only
  136. !A 56-65 55         ; Defines group A, conference 55-65, 56 is "home"
  137. GEORGE JOHNSON           FISTANTALUS              D      ; Group D alias
  138. TERRY HEIGHT             PRATAR                   D
  139. FISTANTALUS              WILLIAM SMITH                   ; unrestricted alias
  140. CYNTHIA MURRELL          GWYN AP RHYS             D
  141. MARC ZALDIVAR            BOLARON                  D
  142. CHUCK HEIM               BART                     A      ; Group A alias
  143. ROBERT JARRETT           NITEBREED                A
  144. GEORGE STEVENS           RICH MOORE
  145. CHARLIE MOODY            MR. DUDE                 A
  146. MARY STEWART             DAMNIT JANET!            A 23 24  ; Group A + 23 & 24
  147. <End of File>
  148.  
  149. All comments above begin with semi-colons and should NOT be included in the
  150. file used online!
  151.  
  152. The alias file has two types of lines, any line begining with an exclamation
  153. point followed by a letter defines a group of conferences so that it can be
  154. referred to later easily.  In the above example, I defined two groups, D for
  155. D&D characters restricted to the D&D conferences, and A for adult aliases
  156. restricted to ThrobNet.
  157.  
  158. Other lines are real names in columns 1 thru 25, alias name in 26 thru 50, and
  159. conferences allowed starting in column 51.  The first conference allowed (the
  160. "home" conference) will be joined when the alias is assumed.  The group
  161. letters eliminate the need to type the conference numbers over and over, all
  162. aliases marked with a D above can ONLY be used in conferences 27 & 28, and the
  163. user will by joined in 27 when entering the alias.  The ones marked by A are
  164. limited to 55-65, and are joined in conference 56 (THAT's why 55 is listed
  165. last in the series, to make 56 the "home" conference).
  166.  
  167. An alias WITHOUT a conference lockout will be allowed in all conferences (as
  168. in George Stevens' case above).  Additional conferences can be allowed to
  169. individual users on a case-by-case basis (see Mary Stewart's access to
  170. conferences 23 & 24 as Damnit Janet!).
  171.  
  172. Multiple aliases are simple to set up, but are only supported in the
  173. registered version of the program.  Simply have several lines in your alias
  174. file with the same real name.  The user can differentiate between aliases by a
  175. numeric parameter.  The first alias encountered in the file is #1, the second
  176. #2, etc.  If using the one batch file method, no special changes are needed to
  177. implement multiple aliases, but if using the two batch file method, the
  178. %PCBDOOR% variable should be added to the ALIAS call to NameChng.
  179.  
  180. Trying to get around registering by listing an alias as a real name (ie giving
  181. the alias an alias) WILL lock up the system when the user runs NameChange.
  182. NameChange will find his name as an alias, and change to his "real" name, and
  183. then start searching the alias file again.  This will go on forever and ever.
  184. This wasn't an intentional lock on the multiple aliases, it was a side effect
  185. of being able to switch from alias to alias without going back to your real
  186. name in between.
  187.  
  188.  
  189. 4) - Modify or create $$LOGOFF.BAT files for each node
  190.  
  191. NameChk should be called in the $$LOGOFF.BAT file, and will restore the user's
  192. name & conference registrations back to normal.  The ALL parameter is included
  193. to call from the nightly event and change all users back regardless of node
  194. number.  This is not to replace the call in the $$LOGOFF file, but to catch
  195. user's who may have crashed the system and cause $$LOGOFF not to run.  If
  196. multiple alias files are used, you should call NameChk once for each file.
  197. This is a small and fast file, so calling it a few times will still be pretty
  198. quick. (I get 2 sec runs on a 386 and 6 sec on an XT)
  199.  
  200. The format for calling NameChk.EXE is:
  201.      NameChk  <file> <PCB node number>
  202.      NameChk  <file> ALL  ****  ALL is not yet implemented!
  203.  
  204. Make sure that NameChng and NameChk are ALWAYS run from the same directory, as
  205. it uses save files to store conference registrations and alias flags.  For
  206. this reason, NameChng should NOT be run off of a RAMdrive unless you're
  207. willing to risk USERS file damage in the case of a reboot.
  208.  
  209. ****  Beta Test Version - ALL parameter is not yet implemented, so IF NameChk
  210. call is used in event, it should be done once for each node number.
  211. [Personally I'm not running it in the event at all, if the $$LOGOFF doesn't
  212. get them the first time, it will the second, and NameChk is set up to change
  213. back ALL aliases from the current node, it doesn't assume just one alias]
  214.  
  215.  
  216. 5) - Modify the NameChng.CFG file to suit your needs
  217.  
  218.    The NameChng.CFG file contains configuration & options information about
  219. your setup that all the NameChange programs use.  The file is a simple text
  220. file, the format is shown below:
  221.  
  222. Line 1:  Name of BBS
  223. Line 2:  Registration Number (or blank)
  224. Line 3:  Path to your PCB\MAIN directory (USERS,CALLER,et al)
  225. Line 4:  Should message be sent to Sysop when user REQUESTs alias?  Y/N
  226. Line 5:  Should message be sent to the User when sysop changes alias? Y/N
  227. Line 6:  Path & File name of Msgs file to log messages to
  228. Line 7:  User ALIAS command       Lines 7- 12 are optional
  229. Line 8:  User REAL command          if left blank, will default to ALIAS,
  230. Line 9:  User REQUEST command       REAL, REQUEST, VERIFY, REJECT, and SHOW.
  231. Line 10: User VERIFY command
  232. Line 11: User REJECT command
  233. Line 12: User SHOW command
  234.  
  235. The name of your BBS on line 1 must EXACTLY match the name you gave me
  236. for verification or your registration code WILL NOT work.  It IS case
  237. sensitive.  Changing lines 7 thru 12 gives you the ability to completely
  238. customize NameChange to your own needs.  Each line contains a single
  239. word command that the user types to activate that particular function.
  240. ie, by putting FAKE on line 7, you make the command to change to an
  241. alias NAMECHNG FAKE instead of NAMECHNG ALIAS.
  242.  
  243.  
  244.  
  245. 6) - Optionally modify the various TXT files
  246.  
  247. ALL of NameChng's user displays are in text files that must reside in the
  248. NameChng directory.  These fully support PCB's @ commands (especially
  249. considering that it's PCBoard that displays them) and can be modified at your
  250. discretion.  The files are:
  251.  
  252.     BADPARAM.TXT - Shown if the parameters given are not correct
  253.     NOALIAS.TXT  - Shown if the user is not listed as a real name or if
  254.                    an alias number beyond those defined is used (ie asking
  255.                    for the third alias when the user only has two)
  256.     ALIAS.TXT    - Shown when the user has been put into the alias
  257.     REAL.TXT     - Shown when the user has been changed to real name
  258.     REQUEST.TXT  - Shown when the user requests an alias
  259.     NOTREG.TXT   - Shown if user is not registered in alias's home conf
  260.  
  261. NameChng will add a single door identification line at the end of the TXT file
  262. when it is displayed.   A blank line will be added before it.
  263.  
  264.  
  265. 7) - Optionally add NameIndx to your event
  266.  
  267. NameIndx is a "trade-off" utility.  A side effect of aliasing on PCBoard is
  268. that messages TO an alias don't cause the mail flags to be set, and also cause
  269. the user to get a "So and so not found, (C)ontinue, (R)etype, ..." error
  270. unless the conference is declared as an ECHO conference.  And even then, the
  271. user has to answer the "Echo message?" prompt, even though the conference may
  272. be local.
  273.  
  274. NameIndx solves that problem by re-building the PCBNDX files with additional
  275. entries from your alias files.  See NameIndx.DOC for documentation on setting
  276. up NameIndx.
  277.  
  278. The reason NameIndx is called a trade-off is that if you do use it, it solves
  279. the problems with mail flags and with message entry.  But there is a side
  280. effect that may confuse your users.  A user will be able to log on using their
  281. alias name, which may lead them to believe they are logged on AS their alias,
  282. but they will really be in their real name.  NameIndx makes multiple
  283. references to the same user record, and PCBoard gets the user name from the
  284. record, NOT from the answer to the logon prompt.
  285.  
  286. So, you decide which problem you want, the mail flags & msg entry problem OR
  287. the logon side-effect.  Personally I feel that NameIndx is the way to go, but
  288. know that others may feel differently, so I left it as a completely seperate
  289. program.
  290.  
  291. 8)  -  Optionally Modify and add User Bulletin to your bulletin list
  292.  
  293. The User bulletin (USER.BLT) explains to your users how to operate
  294. NameChange on your system.  Since every system can have a different
  295. setup, some things may need to be modified on your system.
  296.  
  297. Some typical global changes that may be made:  (EXACT case matches only)
  298.    NAME    - name of the door file to call NameChng
  299.    ALIAS   - your defined ALIAS command
  300.    REAL    - your defined REAL command
  301.    SHOW    - your defined SHOW command
  302.    REQUEST - your defined REQUEST command
  303.  
  304. It is suggested that you add the bulletin in the Main Board AND use the Help
  305. file below.  Otherwise, the user may find themselves in their alias and not
  306. able to get to the docs to figure out how to get back again.
  307.  
  308. 9)  -  Optionally modify and add HLPNAME to PCB\HELP directory
  309.  
  310. Adding this file to your PCB\HELP directory will give users the ability
  311. to type H NAME and have the file displayed to them.  This will give them
  312. help anywhere on the board, no matter what name they are in.  You need
  313. to rename the file to NAME (if you want H NAME to retrieve it) after you
  314. move it.  If you change the name of the door batch file, you should
  315. change the help file name to match it.
  316.  
  317. You should make the same Global, EXACT case match changes in this file
  318. as you made in the User Bulletin above if you have changed either the
  319. name of the door file or any of the command keywords.
  320.  
  321. ---
  322.  
  323. Think that's about it, if you have any problems, I can be contacted at Sybil
  324. BBS (703) 951-2708 HST/v32 or through the ThrobAdmin conference on ThrobNet or
  325. the Sysop, Shareware, or Laptop conferences on U'NI-Net/US.
  326.